#include "stdafx.h"
#include "qttestapp.h"
#include "testDlg.h"

qtTestApp::qtTestApp(QWidget *parent, Qt::WFlags flags)
	: QMainWindow(parent, flags)
{
	ui.setupUi(this);

	QObject::connect(ui.pushButton, SIGNAL(clicked()), this, SLOT(onTest()));
}

qtTestApp::~qtTestApp()
{

}

void qtTestApp::onTest()
{
	QTestDialog dlg;
	dlg.exec();
}
